package com.usian.service;

import com.usian.pojo.TbItem;
import com.usian.pojo.TbItemDesc;
import com.usian.pojo.TbItemParamItem;
import com.usian.utils.PageResult;

import java.util.Map;

public interface ItemService {
   public TbItem selectItemInfo(Long id);
   public PageResult selectTbItemAllByPage(Integer page,Integer rows);
   public Integer insertTbItem(TbItem tbItem,String desc,String itemParams);
   public Map<String,Object> preUpdateItem(Long itemId);
   public Integer updateTbItem(TbItem tbItem,String desc,String itemParams);
   public Integer deleteItemById(Long itemId);

   public TbItemDesc selectItemDescByItemId(Long itemId);

   TbItemParamItem selectTbItemParamItemByItemId(Long itemId);
}
